<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
 
    <title>wangba580</title>
  </head>
  <body>
   <script type="text/javascript" src="./static/jquery-1.7.2.min.js"></script>
   <script type="text/javascript">
		var url=window.location.href;
		if(url.indexOf("?")!=-1){
		var userId=url.split('?')[1].split("=")[1];
		}else{

		}
		$.ajax({
			url:"http://a.api.580tequan.com/api/Login/Index",
			type:"GET",
			dataType:"json",
			success:function(res){
		      var exp = new Date();
		      exp.setTime(exp.getTime() + 24*60*60*1000);
		      document.cookie =  name + "="+escape( value) + ";expires=" + exp.toGMTString();
			}
		})
   </script>
  </body>
</html>
